package com.qf.ts.platform.front.feign.impl;

import com.qf.ts.platform.front.feign.CarSourceSearchServiceClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author xianchang
 */
@Slf4j
@Component
public class CarSourceSearchServiceFallback implements CarSourceSearchServiceClient {

    @Override
    public String createIndexAndType() {
        log.warn("search service的降级方法....createIndexAndType");
        return null;
    }

    @Override
    public long searchCount(String json) {
        log.warn("search service的降级方法....searchCount" + json);
        return 0L;
    }

    @Override
    public String addDocument(String json) {
        log.warn("search service的降级方法....addDocument" + json);
        return null;
    }

    @Override
    public List<Map> compreSearch(String json) {
        log.warn("search service的降级方法....compreSearch" + json);
        return null;
    }

    @Override
    public List<Map> deweightSearch(String json) {
        log.warn("search service的降级方法....deweightSearch" + json);
        return null;
    }

    @Override
    public List<Map> hightSearch(String json) {
        log.warn("search service的降级方法....hightSearch" + json);
        return null;
    }


}
